package com.ktjy.ktmall.entity;

/**
 * 商品表与属性值表的中间表，它与t_goods_attr_values表对应
 * @version v1.0
 * @Author 郴州科泰
 * @Create 2024-07-24 - 16:10
 */
public class GoodsAttrValues {

    private int id;
    private int goodsId;
    private int attrValueId;  // 属性值id
    private int orderNum;
    private int status;  // 状态(0:正常 1:禁用)
    private String createTime;  // 创建时间
    private String updateTime;  // 更新时间

    public GoodsAttrValues() { }

    public GoodsAttrValues(int id, int goodsId, int attrValueId, int orderNum, int status, String createTime, String updateTime) {
        this.id = id;
        this.goodsId = goodsId;
        this.attrValueId = attrValueId;
        this.orderNum = orderNum;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getAttrValueId() {
        return attrValueId;
    }

    public void setAttrValueId(int attrValueId) {
        this.attrValueId = attrValueId;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
